package com.xiangxue.kotlinproject

import android.content.Context
import android.widget.Toast

/**
 * 扩展函数
 */
fun Context.toast1(msg:String){
    Toast.makeText(this, msg, Toast.LENGTH_SHORT).show()
}